package com.example.jobback.req.common.phone;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * @ClassName: ResetPhoneReq
 * @Description:
 * @Author: lhb
 * @Date: 2025/7/26
 */
@Data
@Schema(title = "更换手机号请求体")
public class ResetPhoneReq {
    @Schema(title = "旧电话号码")
    @NotBlank(message = "旧电话号码不为空")
    private String oldPhone;

    @Schema(title = "新电话号码")
    @NotBlank(message = "新电话号码不为空")
    private String newPhone;

    @Schema(title = "密码")
    @NotBlank(message = "密码不为空")
    private String password;
}
